Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

docs: Add available model options to CLI documentation - #1237

Open
codegen-sh[bot] wants to merge 1 commit into
develop from
codegen-bot/add-cli-model-options-1756938362
Open

docs: Add available model options to CLI documentation #1237
codegen-sh[bot] wants to merge 1 commit into
develop from
codegen-bot/add-cli-model-options-1756938362

Conversation

@codegen-sh

@codegen-sh codegen-sh Bot commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

This PR addresses the documentation gap for the --model parameter in the CLI documentation by adding a comprehensive list of all supported models.

Changes Made

  • Added "Available Models" section with complete list of supported models organized by provider:

    • OpenAI models (gpt-4o, gpt-4.1, gpt-4.5, gpt-5, o1, o3, o4, deepseek-chat)
    • Anthropic models (claude-3-7-sonnet, claude-3-5-sonnet)
    • xAI models (grok-2, grok-3, grok-4, grok-code-fast variants)
    • Google models (gemini-1.5-pro, gemini-2.5)
  • Enhanced --model parameter documentation with cross-reference link to the new Available Models section

  • Added usage examples showing how to specify models in CLI commands

  • Added helpful note about default model behavior when no model is specified

Context

Previously, the CLI documentation only mentioned --model TEXT without specifying what valid values could be used. Users had to guess or discover valid model names through trial and error.

The model list was sourced from the MODEL_MAP in codegen-backend/app/agents/llms/utils.py to ensure accuracy and completeness.

Impact

  • Users can now easily discover all available model options
  • Reduces support requests about valid model names
  • Improves CLI usability and developer experience

💻 View my work • 👤 Initiated by Jay Hack • 💬 Initiated in #ext-lambda-curry-codegenAbout Codegen
⛔ Remove Codegen from PR🚫 Ban action checks

- Added comprehensive list of supported models for --model parameter
- Organized models by provider (OpenAI, Anthropic, xAI, Google)
- Included usage examples and note about default model behavior
- Added cross-reference link from --model option to Available Models section
Co-authored-by: Jay Hack <jay@codegen.com>

codecov Bot commented Sep 3, 2025
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@codegen-team codegen-team Awaiting requested review from codegen-team

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

0 participants

AltStyle によって変換されたページ (->オリジナル) /